<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/5/8
  Time: 11:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <link href="css/style.css" rel="stylesheet"/>
    <link href="css/base.css" rel="stylesheet"/>
    <script src="js/jquery1.42.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-3.3.1.min.js" charset="utf-8"></script>
    <script src="js/jquery.SuperSlide.2.1.3.js" type="text/javascript"></script>
    <script src="js/flexible.min.js" type="text/javascript"></script>
    <title>意见反馈</title>
</head>
<body style="background-color: rgb(242,242,242);">
<div class="opinion">

    <div class="opinion_btn" onclick="suggesTionfeedbackcontent()">删除</div>
    <script>
        function suggesTionfeedbackcontent() {
            id = document.getElementById('id').value;

            $.ajax({
                url: '/shop/suggesTionfeedbackcontent',
                type: 'POST', //GET
                async: true,    //或false,是否异步
                dataType: 'json',    //返回的数据格式：json/xml/html/script/jsonp/text.
                data: {
                    'id': id ,
                },
                success: function (reData) {
                    if(""!=reData){

                        alert("删除成功");

                    }else {

                        alert("反馈失败");
                    }
                },

            });
        }
    </script>
</div>
</body>
</html>